package hn.sigit.logic.workflow.transaction.impl;

import hn.sigit.model.commons.IRestriction;
import hn.sigit.model.hnd.ladmshadow.Restriction;
import hn.sigit.model.ladm.administrative.LA_RestrictionType;
import hn.sigit.model.ladm.external.ExtParty;
import hn.sigit.util.ShareValue;
import hn.sigit.util.converter.RestrictionConverter;

public class ParcelRestriction extends ParcelRRR<LA_RestrictionType> {
	public ParcelRestriction(long presentationId, ExtParty extParty) {
		super(presentationId,
				extParty,
				null,
				Restriction.newRestriction(0, presentationId, false, false),
				new RestrictionConverter());
	}
	public ParcelRestriction(long presentationId, ExtParty extParty, LA_RestrictionType rrrType, ShareValue share, IRestriction restriction) {
		super(presentationId,
				extParty,
				rrrType,
				share,
				restriction,
				new RestrictionConverter());
	}
}
